package com.hunanwenli.movie.mapper;

import com.hunanwenli.entity.MyAppraisal;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface MyAppraisalMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(MyAppraisal record);

    int insertSelective(MyAppraisal record);

    MyAppraisal selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(MyAppraisal record);

    int updateByPrimaryKey(MyAppraisal record);

    int selectCountAppraisal(Integer pid);

    List<MyAppraisal> selectAllBypid(Integer pid);

    int selectAllByUid(Integer uid);
}